import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
// 引入Element Plus
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

const app = createApp(App)

// 使用路由和Element Plus
app.use(router)
app.use(ElementPlus) // 注册后会添加$notify等全局方法

app.mount('#app')
